package com.mario.provider.service;

import com.mario.provider.entity.User;
import com.mario.provider.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    private UserMapper mapper;

    public User findUser(Integer id){
        return mapper.findOne(id);
    }


}
